<?php 

class Zend_View_Helper_Head { // extends Zend_View_Helper_Abstract {

	public function head(){
		return $this;
    }
    
	public function js($files = array(),$view){
		$helper = $view->headScript();
		foreach($files as $file){
			$helper->appendFile($view->baseUrl() .'/'. $file . '?v=' . $view->version);
		}
		return $helper;
    }
    
    public function css($files = array(),$view){
    	$helper = $view->headLink();
    	foreach($files as $file){
    		$helper->appendStylesheet($view->baseUrl() .'/'. $file . '?v=' . $view->version);
    	}
    	return $helper;    	
    }
        
}
